/* pages/chat/chat.wxss */
.container {
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.brand{
  width: 660rpx;
  margin: 24rpx auto 0;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20rpx 22rpx;
  box-sizing: border-box;
  border-radius: 16rpx;

  .icon{
    width: 80rpx;
    height: 80rpx;
  }
  .info{
    padding: 0 25rpx;
    flex: 1;

    .title{
      display: flex;
      align-items: center;
      font-size: 28rpx;
      font-weight: 400;
      .span{
        font-size: 12rpx;
        color: #fff;
        background: #26C97E;
        border-radius: 4rpx;
        height: 28rpx;
        line-height: 28rpx;
        padding: 0 6rpx;
        margin-left: 10rpx;
      }
    }
    .tip{
      font-size: 18rpx;
      color: #8A8A8A;
    }
  }
}

.case-tab{
  display: flex;
  margin: 30rpx auto;
  justify-content: center;

  .tab{
    min-width: 190rpx;
    height: 60rpx;
    line-height: 60rpx;
    font-size: 32rpx;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    padding:0 30rpx;

    &.active{
      background: #32A9F5;
      border-radius: 30rpx;
    }
  }
}

.case-upload{
  width: 660rpx;
  margin: 0 auto;
  .upload-wrap{
    display: flex;
    .picture, .file{
      width: 50%;
      height: 280rpx;
      background: #fff;
      border-radius: 16rpx;
      overflow: hidden;
      border: 1px #CDCDCD solid;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 18rpx;
      color: #AAAAAA;
      box-sizing: border-box;
      position: relative;
      image{
        width: 80rpx;
        height: 80rpx;
        margin-bottom: 20rpx;
      }
      .title{
        font-size: 24rpx;
        color: #000;
      }
      .corner{
        width: 20rpx;
        height: 20rpx;
        border: 2px #D9D9D9 solid;
        position: absolute;
        &.top-left{
          border-width: 2px 0 0 2px;
          top: 33rpx;
          left: 33rpx;
        }
        &.top-right{
          border-width: 2px 2px 0 0 ;
          top: 33rpx;
          right: 33rpx;
        }
        &.bottom-left{
          border-width: 0 0 2px 2px;
          bottom: 33rpx;
          left: 33rpx;
        }
        &.bottom-right{
          border-width: 0 2px 2px 0;
          bottom: 33rpx;
          right: 33rpx;
        }
      }
    }
    .picture{
      margin-right: 30rpx;
    }
  }
  .textarea{
    height: 320rpx;
    border: 1px #CDCDCD solid;
    border-radius: 16rpx;
    padding: 25rpx 32rpx;
    overflow: hidden;
    margin-top: 32rpx;

    .title{
      font-size: 28rpx;
      margin-bottom: 20rpx;
    }
  }
  .upload-button{
    width: 480rpx;
    height: 100rpx;
    background: #32A9F5;
    border-radius: 50rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32rpx auto 0;
    font-size: 32rpx;
    color: #fff;
    image{
      width: 33.59rpx;
      height: 32rpx;
      margin-left: 10rpx;
    }
  }
}

.case-tab-detail{
  display: none;
  &.show{
    display: block;
  }
}

.ql-container {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  font-size: 22rpx;
  line-height: 1.5;
  overflow: auto;
}

.ql-editor.ql-blank:before {
  font-style: normal;
}